<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ include file="/view/include.jsp"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>网上报名-合肥猎头网</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="stylesheet" href="${contextPath}/view/css/user.css" type="text/css"
	media="all" />
<link rel="shortcut icon" href="favicon.ico" type="image/x-icon" />
<script type="text/javascript">
<!--
function doLogout() {
	adminLogoutForm.submit();
}

//-->
</script>
</head>
<body>
	<%@include file="/view/adminMenu.jsp"%>

	<div class="midBox">
		<div class="midTitle">打印信息检索</div>
		<div class="cnt">

			<table width="100%" border="0" cellpadding="0" cellspacing="1"
				bgcolor="#E1E1E1">
				<tr>
					<td height="32" align="left" bgcolor="#FFFFFF" valign="middle"
						style="padding-left: 10px;"><b><span
							style="color: #666666">打印信息检索</span></b></td>
				</tr>
				<tr bgcolor="#FFFFFF">
					<td colspan="2" valign="top" align="center" height="25"
						style="padding-top: 5px;">
						<form:form name="printInfoForm" method="post" action="${contextPath}/printInfo.action" commandName="PrintInfoCommand">
							<table width="95%" border="0" cellpadding="4" cellspacing="0"
								bgcolor="#E1E1E1">
								<tr bgcolor="#ffffff">
									<td style="text-align: right; width: 15%;">类别：</td>
									<td style="text-align: left; width: 15%">
										<form:select
											path="printType" id="printType">
											<form:option value="0">准考证打印</form:option>
											<form:option value="1">资审结果打印</form:option>
										</form:select>
									</td style="text-align: left;">
									<td><input type="submit" style="width:50px;" value="筛选" /></td>
								</tr>
							</table>
						</form:form></td>
				</tr>
				<tr bgcolor="#FFFFFF">
					<td colspan="2" valign="top" align="center"
						style="padding-top: 5px; padding-bottom: 5px;">
						<table width="99%" border="0" cellpadding="4" cellspacing="1"
							bgcolor="#E1E1E1">
							<tr bgcolor="#f7f7f7">
								<th style="width: 20%;" nowrap="nowrap">部门</th>
								<th style="width: 20%;" nowrap="nowrap">岗位编码</th>
								<th style="width: 20%;" nowrap="nowrap">岗位名称</th>
								<th style="width: 20%;" nowrap="nowrap">已打印人数</th>
								<th style="width: 20%;" nowrap="nowrap">未打印人数</th>
							</tr>
							<c:set var="printedCount" value="0"/>
							<c:set var="notPrintedCount" value="0"/>
							<c:forEach items="${printInfos}" var="printInfo">
								<c:set var="printedCount" value="${printInfo.printedCount + printedCount}" />
								<c:set var="notPrintedCount" value="${printInfo.notPrintedCount + notPrintedCount}" />
								<tr bgcolor="#ffffff">
									<td>${printInfo.deptName}</td>
									<td>${printInfo.postCode}</td>
									<td>${printInfo.postName}</td>
									<td>${printInfo.printedCount}</td>
									<td>${printInfo.notPrintedCount}</td>
								</tr>
							</c:forEach>
							<tr bgcolor="#f7f7f7">
								<th colspan="5" style="text-align:right;">
									总计&nbsp;&nbsp;已打印人数:${printedCount}&nbsp;&nbsp;未打印人数:${notPrintedCount}
								</th>
							</tr>
						</table>
					</td>
				</tr>
			</table>
		</div>
	</div>
	<%@include file="/view/footer.jsp"%>
</body>
</html>
